import { instance } from "./axios"

export function GetAllNotice(data) { //获取商品
    return instance({
        url: "/getAllNotice",
        method: "post",
        params: data
    })
}
export function AddNotice(data) { //增加商品
    return instance({
        url: "/addNotice",
        method: "post",
        params: data
    })
}
export function EditNotice(data) { //修改商品
    return instance({
        url: "/editNotice",
        method: "post",
        params: data
    })
}
export function DelNotice(data) { //删除商品
    return instance({
        url: "/deleteNotice",
        method: "post",
        params: data
    })
}